<template>
	<view>
		
		<view>分页</view>
			<view>分页</view>
				<view>分页</view>
					<view>分页</view>
						<view>分页</view>
							<view>分页</view>
								<view>分页</view>
									<view>分页</view>
		<pagination 
			:current-page="currentPage" 
			:page-size="pageSize"
			@current-change="pageChange"
			:total="total"
		></pagination>
	</view>
</template>

<script>
	import pagination from '@/components/pagination/pagination'
	export default {
		components: {
			pagination,
		},
		data() {
			return {
				currentPage: 1,
				pageSize: 10,
				total: 72
			}
		},
		methods: {
			pageChange(val) {
				this.currentPage = val
			}
		}
	}
</script>

<style>

</style>
